<?php
/** @author: FROSTY 2013*/
$root = '../';
include('../system/core.php');

if (isset($uid) && $user[rights]==1) {
$pr=$_GET['id'];
mysql_query("DELETE FROM `rekl` WHERE `id` = '$pr'");
header('Location: index.php');
exit;
}else{
    echo 'ERROR!';
}
echo '</div></div>';
include('../system/foot.php');
?>